﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Stone
{
    class VirtualSerialPort
    {
        // http://www.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html
        public bool IsOpen = true;

        public VirtualSerialPort(string name, int baudRate)
        { 
        
        }

        public void Open()
        {    
        }

        public void Close()
        {
        }

        public string ReadLine()
        {
            //LON 45.49111 LAT 9.23835
            //45.490987 9.236637
            // 45.484722
            return "$GPRMC,040302.663,A,4529.5,N,914.3,E,0.27,358.86,200804,,*1A\n";
        }

    }
}
